﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeploymentMaxLib
{
    public class ActionRequest : ActionCommBase
    {
        public ActionResponse GetResponse(ActionBase pAction)
        {
            return new ActionResponse()
            {
                ActionType = this.ActionType,
                ExecutionType = this.ExecutionType,
                Params = this.Params,
                LogList = pAction.LogList,
                Result = pAction.Result
            };
        }
    }
}
